package com.ljn.mapper;

import com.ljn.core.dto.common.User;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

@Component
public interface UserMapper {

   //  int deleteByPrimaryKey(String userId);

   //  int insert(User record);

   //  int insertSelective(User record);

   //  User selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(User user);

   //  int updateByPrimaryKey(User record);

    User findUserByUsername(String userName);

    User selectByEntity(User user);

    User findUserByCond(@Param( value = "user") User user);


}
